home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 46209 / 46209.xpi / chrome / searchhelper.jar / content / firefoxOverlay.xul < prev    next >
Extensible Markup Language  |  2009-12-14  |  3KB  |  52 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://searchhelper/skin/overlay.css" type="text/css"?>
  3. <?xml-stylesheet href="chrome://browser/content/places/places.css"?>
  4. <?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
  5.  
  6. <!DOCTYPE overlay SYSTEM "chrome://searchhelper/locale/searchhelper.dtd">
  7.  
  8. <overlay id="searchhelper-overlay"
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.  
  11.     <script type="application/x-javascript" src="chrome://searchhelper/content/searchEngine.js"/>
  12.     <script type="application/x-javascript" src="chrome://searchhelper/content/searchEngines.js"/>
  13.     <script type="application/x-javascript" src="chrome://searchhelper/content/options.js"/>
  14.     <script type="application/x-javascript" src="chrome://searchhelper/content/utils.js"/>
  15.     <script type="application/x-javascript" src="chrome://searchhelper/content/searchhelper.js"/>
  16.     <script type="application/x-javascript" src="chrome://searchhelper/content/prefs.js"/>
  17.     <script type="application/x-javascript" src="chrome://searchhelper/content/init.js"/>
  18.  
  19.     <stringbundleset id="stringbundleset">
  20.         <stringbundle id="searchhelper-strings" src="chrome://searchhelper/locale/searchhelper.properties"/>
  21.     </stringbundleset>
  22.  
  23.     <toolbarpalette id="BrowserToolbarPalette">
  24.         <toolbarbutton id="searchHelperToolbarButton"
  25.             type="menu"
  26.             class="chromeclass-toolbar-additional"
  27.             onclick="if (event.target==this) SearchHelper.populateToolbarButton();"
  28.             label="&searchHelper;"
  29.             tooltiptext="SearchHelper: &toolbarButton.tooltip;"
  30.             onmouseover="SearchHelperUtils.openButtonMenu(this);"
  31.             persist="collapsed, hidden"
  32.             showToolbarButtonText="true" >
  33.             <menupopup id="searchHelperToolbarButtonMenuPopup" position="after_start" tooltiptext="">
  34.                 <deck id="searchHelperDeck" selectedIndex="0">
  35.                     <vbox id="searchHelperToolbarButtonPopup" style="overflow:hidden;"/>
  36.                 </deck>
  37.                 <separator class="groove"/>
  38.                 <hbox id="toolbarMenu">
  39.                     <image src="chrome://searchhelper/skin/options/options.png" onclick="window.openDialog('chrome://searchhelper/content/options.xul', 'Search Helper - Options', 'centerscreen,chrome,modal,resizable=yes', '0');"/>
  40.                     <label class="toolbarMenuFooterLink" value="&options;" tooltiptext="&options.tooltip;" onclick="document.getElementById('searchHelperToolbarButtonMenuPopup').hidePopup(); window.openDialog('chrome://searchhelper/content/options.xul', 'Search Helper - Options', 'centerscreen,chrome,modal,resizable=yes', '0');"/>
  41.                     <spacer flex="1"/>
  42.                     <label class="toolbarMenuFooterLink" value="&tellAFriend;" tooltiptext="&tellAFriend.tooltip;" onclick='SearchHelperUtils.openMailTo();'/>
  43.                     <spacer flex="1"/>
  44.                     <label class="toolbarMenuFooterLink" value="&about;" tooltiptext="&about; Search Helper" onclick="document.getElementById('searchHelperToolbarButtonMenuPopup').hidePopup(); window.openDialog('chrome://searchhelper/content/about.xul', 'Search Helper - About', 'centerscreen,chrome,modal,resizable=yes', '0');"/>
  45.                     <vbox id="toolbarMenuLogo">
  46.                         <image src="chrome://searchhelper/skin/logo-small.png" tooltiptext="www.searchelper.com" onclick="SearchHelperUtils.openUrl('http://www.searchelper.com/');"/>
  47.                     </vbox>
  48.                 </hbox>
  49.             </menupopup>
  50.         </toolbarbutton>
  51.     </toolbarpalette>
  52. </overlay>